

#ifndef _SHELL_RESWEARTITLE_MESSAGE_H_
#define _SHELL_RESWEARTITLE_MESSAGE_H_

#include "Message.h"
#include "Beans.h"
//#include <vector>
//#include "TitleBean.h"
using namespace std;

class ResWearTitleMessage : public Message
{
	public:
	ResWearTitleMessage();
	~ResWearTitleMessage();
	void reset();
	ResWearTitleMessage* clone();
	static const int _ID;
	//当前穿戴称号资源id
	vector<TitleBean*> titles;
	
	bool read_from(ByteBuf& buf);
    bool write_to(ByteBuf& buf);
    int getId();
};

#endif
